package com.muk.meis.model.service;


public class OpecSetupService extends BaseMEISService {
	
	public int getMaxOPECSetupId(){
		Number n = (Number)em.createQuery("select max(e.opecId) from OpecSetup e").getSingleResult(); 
		return n.intValue();
	}
	
	public static void main(String[] args) {
		OpecSetupService obj = new OpecSetupService();
		System.out.println(obj.getMaxOPECSetupId());
	}

}
